<template>
    <!-- 路由输出router里面的index文件 -->
    <router-view></router-view>
    <!-- van-tabbar里面的route设置路由模式，在item中to可以实现路由切换 -->
    <van-tabbar route active-color="#ee0a24" inactive-color="#000" placeholder>
        <van-tabbar-item to="/home" icon="home-o">首页</van-tabbar-item>
        <van-tabbar-item to="/categroy" icon="search">分类</van-tabbar-item>
        <van-tabbar-item class="collageStyler" to="/collage" icon="fire-o">拼团</van-tabbar-item>
        <van-tabbar-item to="/cart" icon="shopping-cart-o">购物车</van-tabbar-item>
        <van-tabbar-item to="/my" icon="setting-o">我的</van-tabbar-item>
    </van-tabbar>
</template>

<script setup lang="ts">

</script>


<style lang="scss" scoped>

</style>